package com.woniu.cms.contract.core.service;

import com.woniu.cms.contract.core.entity.Public;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.cms.contract.core.entity.UndertakeContract;
import com.woniu.common.api.Result;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author maple leaf
 * @since 2022-09-17
 */
public interface IPublicService extends IService<Public> {

    Result queryPublic(String undertakeContractCode, String publicCode, Integer currentPage, Integer pageSize);

    Result addPublic(Public publi);

    List<Public> generatedNumber(String pu, String date, String area);

    Result auditPublic(Public publi);

    Result delPublic(String publicCode);

    Result queryByPublic(String publicCode);

}
